﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace IceDog.WebApi.AnythingApi.Models
{
    /// <summary>
    /// 
    /// </summary>
    public class ArgModel
    {
        /// <summary>
        /// 
        /// </summary>
        [DefaultValue(233)]
        [DataMember(Name = "id")]
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [DefaultValue("http://www.example.com/q/2019/14323")]
        [DataMember(Name = "url")]
        public string Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [DefaultValue(true)]
        [DataMember(Name = "isValid")]
        public bool IsValid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [DefaultValue(true)]
        [DataMember(Name = "byArgs")]
        public bool ByArgs { get; set; } = true;
    }
}
